package com.google.code.vannevar.client.ui.listeners;

import com.google.code.vannevar.client.ui.builders.LoginWindowBuilder;
import com.gwtext.client.core.EventObject;
import com.gwtext.client.widgets.Button;
import com.gwtext.client.widgets.Window;
import com.gwtext.client.widgets.event.ButtonListenerAdapter;

public class LoginButtonListener extends ButtonListenerAdapter {

    @Override
    public void onClick(Button button, EventObject event) {

        ((Window) new LoginWindowBuilder().get()).show(button.getId());
    }
}
